projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1997da8
)
(gud-sdb-marker-filter): start may be nil, so check it
author
Richard M. Stallman
<rms@gnu.org>
Fri, 1 Dec 1995 18:19:34 +0000
(18:19 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 1 Dec 1995 18:19:34 +0000
(18:19 +0000)
with numberp before using it.
lisp/gud.el
patch
|
blob
|
history
diff --git
a/lisp/gud.el
b/lisp/gud.el
index 0f8776f3529eed577744862e6c94a29bbc1c1ad2..e7a43647a7e11869d9666ab8d5402a5303b553c3 100644
(file)
--- a/
lisp/gud.el
+++ b/
lisp/gud.el
@@
-454,7
+454,7
@@
available with older versions of GDB."
;; Otherwise clear gud-marker-acc. to avoid an
;; unnecessary concat when this function runs next.
(setq gud-marker-acc
- (if (
= start (length gud-marker-acc
))
+ (if (
and (numberp start) (= start (length gud-marker-acc)
))
(substring gud-marker-acc start)
nil)))
string)